package com.card.hwatt.dto;

import java.util.List;

/**
 * 分页数据
 * 
 * @author Administrator
 * 
 * @param <T>
 */
public class PageParam {

	public PageParam() {
	}

	public PageParam(int rows, int page, String sort) {
		this.rows = rows;
		this.page = page;
		this.sort = sort;
	}

	public PageParam(int rows, int page, String filter, List<Object> params,
			String sort) {
		this.rows = rows;
		this.page = page;
		this.filter = filter;
		this.params = params;
		this.sort = sort;
	}

	/**
	 * 分页数量
	 */
	public int rows;

	/**
	 * 页码
	 */
	public int page;

	/**
	 * 筛选语句
	 */
	public String filter;

	/**
	 * 筛选参数
	 */
	public List<Object> params;

	/**
	 * 排序
	 */
	public String sort;
}
